package com.scetoop.bank;

public class OverdraftException extends Throwable {
    private static final long serialVersionUID = 1;
    private  double deficit;

    public double getDeficit() {
        return deficit;
    }
    public OverdraftException(String msg, double deficit){
        super(msg);
        this.deficit = deficit;
    }
}
